PREVIEW: Let's see an example of the program you'll be creating today!

Notice the code uses two new conditionals: elif and else. We will learn about them in this lesson!

  • Click Run to see an example of the Choose Your Adventure game you'll be making today using conditionals.
  • Run the program a few times, entering different answers each time.
  • Click Submit and Next to continue to the next activity.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)